<template>
	<view class="content">
		<u-button type="info" text="确定"></u-button>
		<u-button type="primary" :plain="true" text="镂空"></u-button>
		<u-button type="success" :plain="true" :hairline="true" text="细边"></u-button>
		<u-button type="success" loading loadingText="加载中"></u-button>
		<view class="">
			{{num}}
		</view>
		<test-comp @changenum="handleNum"></test-comp>
		<test-bus></test-bus>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				num:100
			}
		},
		onLoad() {

		},
		methods: {
			handleNum(n){
				this.num+=n
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
